define([], function(){
	var tpl = {};

	tpl.init = function(domId){
		var html = dropdown();
		$("#"+domId).html(html);
	}

	/**
	 *
	 */
	var dropdown = function(){
		return 	'<script id="tpl_application_dropdown" type="text/html">'+
			'	<li class="dropdown">'+
			'		{{if project}}'+
			'			<a href="javascript:void(0)">'+
			'				<label class="logo-icon" style="background:#e0ecea url({{project.logo}})"></label>'+
			'				<span class="hidden-xs tenant_name {{project.projectNameClassnName}}">{{project.projectName}}</span>'+
			'			</a>'+
			'		{{else}}'+
			//系统标题改这里
			'			<a href="javascript:void(0)" style="background-color: transparent">'+
			'				<label></label>'+
			'				<span class="hidden-xs tenant_name {{app.tenantNameClassnName}}"></span>'+
			'			</a>'+
			'		{{/if}}'+
			'	</li>'+
			'</script>';
	}
	return tpl;
});
